from app.core.conf import ST
from app.tornado.limit import Tornado
from loguru import logger

batteryTornado = Tornado("battery", 3 , 10 * 60)

bat_lev_low = 0.40


class Battery:

    def __init__(self,info,ip) -> None:
        self.info = info
        self.ip = ip


    def handle_battery_charge(self,all1,ip):
        battery_level =all1.get('battery_level')
        charging = all1.get('charging')
        logger.debug(charging);

    

    